import instance from "../utils/request";
// 登录获取token
export const loginAPI = ({ mobile, code }) => {
  return instance({
    url: '/v1_0/authorizations',
    method: 'post',
    data: { mobile, code }
  })
}
// 获取个人信息
export const getUserInfoAPI = () => {
  return instance({
    url: '/v1_0/user/profile'
  })
}